﻿/**************************************************
* 版权所有:Copyright (C) 
* 作    者:蔡海翔
* 创建日期:2014/6/19 9:50:10
* 描    述:领用单
* 修改日期:
* 修改内容:
****************************************************/

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataEntity
{
    [Table("OffRequisitionBill")]
    public class OffRequisitionBill:SysLogBaseField
    {
        [Key]
        public int ID { get; set; }

        [Display(Name = "出库单名")]
        [Required]
        public string Name { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        [Display(Name = "编号")]
        public string Code { get; set; }
       

        /// <summary>
        /// 排序号
        /// </summary>
        [Display(Name = "排序号")]
        public int SortNumber { get; set; }

        /// <summary>
        /// 领用部门
        /// </summary>
        [Display(Name = "领用部门")]

        public string UseDepartment { get; set; }

        /// <summary>
        /// 货源性质
        /// </summary>
        [Display(Name = "货源性质")]
        public string SourceProperties { get; set; }


        /// <summary>
        /// 客户姓名，组别
        /// </summary>
        [Display(Name = "客户姓名，组别")]
        public string CustomerName { get; set; }

        /// <summary>
        /// 领用人
        /// </summary>
        [Display(Name = "领用人")]

        public string UsePerson { get; set; }

        /// <summary>
        /// 发货人
        /// </summary>
        [Display(Name = "发货人")]

        public string DeliverGoodsPerson { get; set; }

        /// <summary>
        /// 记账人
        /// </summary>
        [Display(Name = "记账人")]
        public string Bookkeeper { get; set; }

        /// <summary>
        /// 出库时间
        /// </summary>
        [Display(Name = "出库时间")]
        public DateTime OutBoundTime { get; set; }

        [Display(Name = "是否禁用")]
        public bool BeLock { get; set; }

        [Display(Name = "备注")]
        public string Remark { get; set; }
    }
}
